<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>4.多图定义和组合语句</title>
  <style>
    article {
      border: dashed 3px black;
      height: 500px;
      /* background-image: url(small2.jpg),url(small.jpg); */
      overflow: auto;
      /* background-repeat: no-repeat; 
       background-position:top left,center; */
      background: url(small2.jpg) left 50% no-repeat,url(small.jpg) right 100% no-repeat red;
    }

  </style>
</head>

<body>
  <article>
    <div>
      <h2>houdunren.com</h2>

    </div>
  </article>
</body>

</html>